import { Module } from '@nestjs/common';
import { WordCollectionController } from './word-collection.controller';
import { WordCollectionService } from './word-collection.service';
import { HttpModule } from '@nestjs/axios';
import { TypeOrmModule } from '@nestjs/typeorm';
import { WordCollection } from './word-collection.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([WordCollection]),
    HttpModule.register({
      timeout: 60000,
      maxRedirects: 5,
    }),
  ],
  controllers: [WordCollectionController],
  providers: [WordCollectionService],
  exports: [WordCollectionService],
})
export default class WordCollectionModule {}
